package com.jdd.enterprise.domain.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jdd.enterprise.domain.entity.DataPoolDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

/**
 * @Entity com.jdd.enterprise.domain.DataPoolDO
 */
@Mapper
public interface DataPoolMapper extends BaseMapper<DataPoolDO> {
    @Update("udpate data_pool set deleted = -1 where id = #{dataPoolId}")
    Integer updateDeleted(Long dataPoolId);

}
